
import { high } from 'nc-lightapp-front';
import { conf as unitConf } from '../../../../uapbd/refer/org/BusinessUnitTreeRef/index';

const { Refer } = high;

export default function (props = {}) {
	var conf = {

		refType: 'grid',
		refName: '附件分类',
		refCode: 'hrhi.pub.filetypeRef',
		queryGridUrl: '/nccloud/hrhi/pub/filetypeRef.do',
		isMultiSelectedEnabled: false,
		columnConfig: [{ name: ['编码', '名称'], code: ['refcode', 'refname'] }],
		unitProps: unitConf,
		isShowUnit: false
	};

	return <Refer {...conf} {...props} />
}

